from multiprocessing import Pool

def f(x, y):
    return x*y

if __name__ == '__main__':
    p = Pool(5)
    N = 100

    for i in range(0, N):
        s = [[i, x] for x in range(5)]
        print(s)
        print(p.starmap(f, s))
    exit("hello")
